﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _014
{
    internal class Program
    {
        struct Books
        {
            public string title;
            public string author;
            public string subject;
            public int book_id;

        }
        static void Main(string[] args)
        {
            #region
            /*
            for(int i=1;i<=9;i++)
            {
                if(i==5)
                {
                    break;
                }
                Console.Write("{0}  ", i);
            }

            for(int i1=1;i1<=9;i1++)
            {
                if (i1==5)
                {
                    Console.Write("{0} ", i1);
                }
            }
            Console.ReadLine();
            */
            #endregion
            #region
            /*
            int count = 1;
        Login:
            for (int a = 0; a <= count; a++)
            {
                Console.WriteLine("第{0}次：请输入用户名：", count);
                string username = Console.ReadLine();
                Console.WriteLine("第{0}次：请输入密码：", count);
                string userpwd = Console.ReadLine();
                if(username=="admin" && userpwd=="123455")
                {
                    Console.WriteLine("登录成功");
                    Console.WriteLine("正在退出");
                    goto End;
                }
                else
                {
                    break;
                }
            }
            count++;
            if (count > 3)
            {
                Console.WriteLine("用户名或者密码错误次数过多！直接退出"); 
            }
            else
            {
                Console.WriteLine("用户名或密码错误");
                goto Login;
            }
        End:
           Console.ReadKey();
            Program Obj = new Program();
            Obj.Output();
            Console.ReadKey();
            */
            #endregion
        }
        public void Output()
        {
            Console.WriteLine("C#编程");
        }
    }
}
